-
Notifications
You must be signed in to change notification settings - Fork 2.1k
chore: fix some minor issues in comments #19856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: pingshuijie <[email protected]>
Signed. |
and self.mode_integer is None | ||
): | ||
raise ValueError("Must specify at least one committment. Anyone-can-send/recieve is not allowed.") | ||
raise ValueError("Must specify at least one commitment. Anyone-can-send/recieve is not allowed.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change, while correct, requires changing some test code, as the test code looks for this exact matching string while testing this exception flow
def necessary_args(self) -> list[Program]: | ||
if self._nothing_committed: | ||
raise ValueError("Cannot generate necessary_args for a participant without committment information") | ||
raise ValueError("Cannot generate necessary_args for a participant without commitment information") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change, while correct, requires changing some test code, as the test code looks for this exact matching string while testing this exception flow
This PR has been flagged as stale due to no activity for over 60 days. It will not be automatically closed, but it has been given a stale-pr label and should be manually reviewed by the relevant parties. |
Purpose:
fix some minor issues in comments
Current Behavior:
New Behavior:
Testing Notes: